 package com.javen.service.impl;
 
 import com.javen.dao.IEquipmentDao;
 import com.javen.model.Equipment;
 import com.javen.service.IEquipmentService;
 import java.util.List;
 import javax.annotation.Resource;
 import org.springframework.stereotype.Service;
  
 
 
 @Service("equipmentService")
 public class EquipmentServiceImpl
   implements IEquipmentService
 {
   @Resource
   private IEquipmentDao equipmentDao;
   
   public List<Equipment> showAllEquip()
   {
     return this.equipmentDao.selectAll();
   }
   
   public int updateByEquipId(Equipment equip)
   {
     return this.equipmentDao.updateByEquipId(equip);
   }
   
   public int insertEquipment(Equipment equip)
   {
     return insertEquipment(equip);
   }
 }
